package com.szcinda.fitness;

import com.szcinda.fitness.dto.DailyTrainDto;
import com.szcinda.fitness.dto.TrainPlanDto;
import com.szcinda.fitness.persistence.BodyMeasurement;
import com.szcinda.fitness.persistence.TrainMovement;
import com.szcinda.fitness.persistence.TrainPlan;

import java.time.LocalDate;
import java.util.List;

public interface TrainService {

    DailyTrainDto getDailyTrain(String openId, LocalDate trainDate);

    TrainPlanDto getTrainPlan(String openId);

    List<String> trainDayList(String openId);

    void saveTrainPlan(TrainPlan trainPlan);

    void saveNote(String openId, LocalDate trainDate, String trainNote);

    void saveTrainPositions(String openId, LocalDate trainDate, String trainPositions);

    void saveTrainTypes(String openId, LocalDate trainDate, String trainTypes);

    void saveTrainMovements(String openId, LocalDate trainDate, List<TrainMovement> trainMovements);

    void saveBodyMeasurements(String openId, LocalDate trainDate, List<BodyMeasurement> bodyMeasurements);
}
